#include "Flash.h"
#include <SPI.h>
#include <Serial.h>
#include <EEPROM.h>

Flash* nandFlash;

void setup() 
{
  Serial.begin(115200);
    
  nandFlash = new Flash(false, false);
}

void loop() 
{
  while (Serial.available() == 0);
  
  nandFlash->dumpArray(64, 64 + 125, 2048, true);
  
  while(1);
}
